/**
 * 接口链接地址
 */
const user={
  //登录
  login:"/api/user/login",
  //用户信息
  info: "/api/user/info",
  //手机
  phone:"/api/user/phone",
  //金币明细
  queryUserSpend:"/api/user/queryUserSpend",
  //充值记录
  getRechargesList: "/api/user/getRechargesList",
  //商家列表数据
  queryStore: "/api/user/queryStore",
  //店铺详情
  userGetStoreInfo: "/api/user/userGetStoreInfo",
  //金币明细
  userFractionDetail: "/api/user/userFractionDetail",
  userScanQrcoderGetOrderInfo: "/api/user/userScanQrcoderGetOrderInfo",
  userScanQrcoderPay: "/api/user/userScanQrcoderPay",
}

const store={
  getStoreInfo: "/api/store/getStoreInfo",
  //添加员工
  addStaff: "/api/store/addStaff",
  //得到消费记录
  getConsumpitionList: "/api/store/getConsumpitionList",
  //员工信息
  getStoreUserInfo: "/api/store/getStoreUserInfo",
  //设置为员工/店长
  setStoreIdentity: "/api/store/setStoreIdentity",
  //员工列表
  getStoreUserList: "/api/store/getStoreUserList",
  //删除员工
  deleteStaff: "/api/store/deleteStaff",
  //帮助充值
  storeRechargesToUser: "/api/store/storeRechargesToUser",
  //积分记录
  getFractionList: "/api/store/getFractionList",
  //获取比率
  getFractionProportion: "/api/store/getFractionProportion",
  //门店列表
  storeEntrance: "/api/store/storeEntrance",
  //开关店
  setStoreOpenOrClose: "/api/store/setStoreOpenOrClose",
  getStoreRechargesList: "/api/store/getStoreRechargesList",
  //设置比率
  setFractionProportion: "/api/store/setFractionProportion",
}

const pay={
  //充值
  payRecharge: "/api/pay/payRecharge",
  createRecharge: "/api/pay/createRecharge",
}

const qrcode={
  //设置金额
  createPaymentCode: "/api/qrcode/createPaymentCode",
}
module.exports = {
  user: user,
  store: store,
  pay: pay,
  qrcode: qrcode
}